#include "NezhaRefable.h"

using namespace Nezha;

Refable::Refable()
:mRefCounter(0)
{

}

void Refable::unref()
{
	if(--mRefCounter <= 0)
	{
		NZ_Delete this;
	}
}